VOX::Application.routes.draw do
  root :to => 'home#index'

  match '/login' => 'home#login',  :as => 'login'
  match '/vote' => 'home#vote',  :as => 'vote'
  match '/cand' => 'home#agregar_candidato', :as => 'candidato_nuevo'
  match '/results' => 'home#resultados', :as => 'resultados'

end
